<?php require_once('../Admin/inc/consts.php'); ?>
<?php require_once('../Admin/inc/func.php'); ?>
<?php require_once('../Admin/inc/sql_collect.php'); ?>
<?php require_once('../Admin/inc/func_config.php'); ?>
<?php require_once('../Admin/cls/cls_template.php'); ?>
<?php require_once('../Admin/cls/cls_page.php'); ?>
<?php require_once('../Admin/cls/cls_list_replace.php'); ?>
<?php require_once('../Admin/cls/cls_conf_replace.php'); ?>
<?php require_once('../Admin/cls/cls_file_cache.php'); ?>
<?php require_once('../Admin/cls/control_module.php'); ?>
<?php require_once('../Admin/cls/cls_parser.php'); ?>
<?php
$_CONFIG = array();

get_config('web_menu');
get_config('u_cfg');

get_config('m_links');
get_config('m_filed');
get_config('m_artclg');
get_config('m_tags');

get_config('m_tags_top');

get_config('d_info');

if($_SERVER['QUERY_STRING']=='')
{
	index();
}
else
{
	switch($_GET["module"])
	{
		case "index_list":index_list();break;
		case "index_show":index_show();break;
		default:
			$parm=explode('-',$_SERVER['QUERY_STRING'],4);
			index_search($parm[0],$parm[1],$parm[3]);
			break;
	}
}
?>